<?php
$q = $_GET["q"];
$file=fopen("led_status.txt","w");
fwrite($file,$q);
fclose($file);
?>